package com.yang.modules.common.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author: Billyang
 * @date: 2024/9/17 17:14
 */
@Data
@ConfigurationProperties(prefix = "template.thread-pool")
public class ThreadPoolProperty {
    private Integer corePoolSize;
    private Integer maxPoolSize;
    private Integer queueCapacity;
    private Integer keepAliveSeconds;
    private String threadNamePrefix;
    private Boolean waitForTasksToCompleteOnShutdown;
    private Integer awaitTerminationSeconds;
}
